<template>
    <div :id="mapId" class="mars3d-container"></div>
</template>
<script setup lang="ts">
import { initMap } from "@/utils/initMap";
import { onMounted } from "vue";
// 定义map容器key
const mapId = `mars3dContainer${new Date().getTime()}`;
onMounted(() => {
    // 加载map
    initMap(mapId);
});
</script>
<style scoped>
/**cesium 工具按钮栏*/
</style>
